﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GSLMS.Services.Interface;
using GSLMS.Entity;
using GSLMS.Entity.DTO;
namespace GSLMS.Services
{
    public class SystemConfigService :  ISystemConfig
    {

        public List<SystemConfig> GetAll()
        {
            //using (GSLMSCon obj = new GSLMSCon())
            //{
            //    return new List<SystemConfig>();
            //}

            return new List<SystemConfig>();
        }

        public List<SystemConfig> GetAll(UniversallySearchParam searchparma)
        {
            //using (GSLMSCon obj = new GSLMSCon())
            //{
            //    return new List<SystemConfig>();
            //}
            return new List<SystemConfig>();
        }

        public SystemConfig GetByID(string key)
        {
            //using (GSLMSCon obj = new GSLMSCon())
            //{
            //    return new SystemConfig();
            //}
            return new SystemConfig();
        }


        public bool Add(SystemConfig model)
        {
            try
            {
               // this.Add<SystemConfig>(model);
                return true;
            }
            catch { return false; }
        }

        public bool Update(SystemConfig model)
        {
            try
            {
               // this.Update<SystemConfig>(model);
                return true;
            }
            catch { return false; }
        }

        public bool Delete(string key)
        {
            try
            {
                //this.Delete<SystemConfig>(c => c.Key == key);
                return true;
            }
            catch { return false; }
        }


    }
}
